package com.ruoyi.student.service.impl;

import com.ruoyi.student.domain.OCounselors;
import com.ruoyi.student.mapper.OCounselorsMapper;
import com.ruoyi.student.service.IOCounselorsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


/**
 * 原始就业系统辅导员Service业务层处理
 *
 * @author linyang
 * @date 2024-06-24
 */
@Service
public class OCounselorsServiceImpl implements IOCounselorsService {

    @Resource
    private OCounselorsMapper oCounselorsMapper;

    /**
     * 查询原始就业系统辅导员
     *
     * @param CounselorId 原始就业系统辅导员主键
     * @return 原始就业系统辅导员
     */
    @Override
    public OCounselors selectOCounselorsByCounselorId(Long CounselorId) {
        return oCounselorsMapper.selectOCounselorsByCounselorId(CounselorId);
    }

    /**
     * 查询原始就业系统辅导员列表
     *
     * @param oCounselors 原始就业系统辅导员
     * @return 原始就业系统辅导员
     */
    @Override
    public List<OCounselors> selectOCounselorsList(OCounselors oCounselors) {
        return oCounselorsMapper.selectOCounselorsList(oCounselors);
    }

}
